package com.example.fengyungo_user.constant;

public class MessageConstant {

    /**
     * MessageController的url
     * https://climbing-ewe-adjusted.ngrok-free.app/message/driver
     */
    public static final String URL = UserConstant.NGROK_URL_FENGYUNGO +"/message";
    /**
     * 系统id（模拟司机）
     */
    public static final String D_SYSTEM_ID = "d_system";
    /**
     * 系统id（模拟用户）
     */
    public static final String U_SYSTEM_ID = "u_system";
    /**
     * id
     */
    public static final String LIST_ID = "listId";
    /**
     * 司机id
     */
    public static final String DRIVER_ID = "driverId";
    /**
     * 用户id
     */
    public static final String USER_ID = "userId";
    /**
     * 司机昵称
     */
    public static final String DRIVER_NICKNAME = "driverNickname";
    /**
     * 司机头像
     */
    public static final String DRIVER_AVATAR = "driverAvatar";
    /**
     * 司机在线状态（0不在线，1在线）
     */
    public static final String DRIVER_ONLINE = "driverOnline";
    /**
     * 用户未读消息数
     */
    public static final String USER_UNREAD = "userUnread";
    /**
     * 最后一条消息内容
     */
    public static final String LAST_CONTENT = "lastContent";
    /**
     * 最后一条消息时间
     */
    public static final String LAST_TIME = "lastTime";
    /**
     * 用户端列表状态（是否删除）（0存在，1删除）
     */
    public static final String USER_LIST_STATUS = "userListStatus";

    /**
     * 消息id
     */
    public static final String MESSAGE_ID = "messageId";
    /**
     * 消息发送者id
     */
    public static final String SENDER_ID = "senderId";
    /**
     * 消息接受者id
     */
    public static final String RECEIVER_ID = "receiverId";
    /**
     * 消息内容
     */
    public static final String CONTENT = "content";
    /**
     * 消息发送时间
     */
    public static final String SEND_TIME = "sendTime";

    /**
     * message
     */
    public static final String MESSAGE = "message";
}
